package com.riatimes.net.http
{
	
	import com.adobe.serialization.json.JSON;
	import com.carlcalderon.arthropod.Debug;
	import com.riatimes.mvc.model.vo.DataParamVO;
	import com.riatimes.mvc.model.vo.DataTypeVO;
	import com.riatimes.util.Logger;
	
	import flash.errors.IOError;
	import flash.events.Event;
	import flash.events.IOErrorEvent;
	import flash.net.URLLoader;
	import flash.net.URLRequest;
	import flash.net.URLRequestMethod;
	import flash.net.URLVariables;
	import flash.net.navigateToURL;
	import flash.system.Capabilities;
	import flash.utils.getDefinitionByName;
	import flash.xml.XMLNode;
	
	import org.puremvc.as3.patterns.facade.Facade;
	import org.puremvc.as3.patterns.observer.Notifier;
	
	
	/**
	 * 
	 * @author Nick Wong	
	 */
	public class HttpService{
		
		private static var instance:HttpService
		public static function getInstance():HttpService{
			if(instance==null){
				instance=new HttpService();
			}
			return instance;
		}
		
		
		public function getData(facade:Facade,vo:DataParamVO):void {
			new HttpLoader(facade,vo);
		}
		
		
		
		
	}
	
}